﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H
// Coding: UTF-8(BOM)
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#pragma execution_character_set("utf-8")
#endif

#include <QMainWindow>
#include "calculator.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private slots:
    void on_pushButton_calculate_clicked();

    void on_pushButton_about_clicked();

    void on_pushButton_restart_clicked();

private:
    Ui::MainWindow *ui;

    Calculator calculator;
};

#endif // MAINWINDOW_H
